<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Div and Span</title>
    <style>
        sb {
            color: red;
        }
        span {
            color: red;
        }
    </style>
</head>
<body>
    <div>块级元素，默认会独占一行，哪怕它只有几个字</div>
    fdsafjsafalejs<span>行内元素，默认自己的内容占多大空间就占多大空间</span>fljsalfjaslf
</body>
</html>